﻿using AspDotNet.Core6.Mvc.Cookies.Authentication.Models;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
using System.Security.Claims;
using Microsoft.AspNetCore.Authorization;

namespace AspDotNet.Core6.Mvc.Cookies.Authentication.Controllers
{
    public class SecuredController : Controller
    {
        [Authorize]
        public IActionResult Index()
        {
            return View();
        }
    }
}